<%--
  Created by IntelliJ IDEA.
  User: troy-kou
  Date: 13-12-17
  Time: 上午11:47
  Email:kouhongyu@163.com
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/style/houtai.css"/>
    <link rel="stylesheet" type="text/css" href="<%=basePath%>js/op/groupBudget/component/My97DatePicker/skin/default/datepicker.css"/>
    <link rel="stylesheet" type="text/css" href="<%=basePath%>js/op/groupBudget/component/My97DatePicker/skin/WdatePicker.css"/>
    <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/themes/base/jquery.ui.all.css"/>
    <link rel="stylesheet" type="text/css" href="<%=basePath %>themes/base/mark/mark_activity.css">

    <script>
        var basePath = "<%=basePath%>";
    </script>

    <script type="text/javascript" src="<%=request.getContextPath()%>/js/base/jquery-1.4.4.min.js"></script>
    <script type="text/javascript" src="<%=request.getContextPath()%>/js/ui/jquery-ui-1.8.5.js"></script>
    <script type="text/javascript" src="<%=basePath%>js/op/groupBudget/component/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="<%=basePath%>js/op/groupBudget/component/My97DatePicker/lang/en.js"></script>
    <script type="text/javascript" src="<%=basePath%>js/base/task_batch_modify.js"></script>

</head>
<body>
<form id="task_batch_modify_form">
    <s:hidden name="taskIds"/>
    <table class="mark_table" cellspacing="1" cellpadding="1" style="width: 800px;">
        <thead>
        <tr>
            <th colspan="2">批量更新任务信息:</th>
            <th width="20px">
                <a href="javascript:void(0);" onclick="addParameterRow()">
                    <img src="<%=basePath%>images/jia.gif">
                </a>
            </th>
        </tr>
        </thead>
        <tbody id="batch_modify_tbody">
        <tr class="bm_tr">
            <th style="width: 100px">
                <select class="changeType" onchange="changeType(this)">
                    <option value="TASK_NAME">任务名称</option>
                    <option value="WEB_SERVICE_URL">地址</option>
                    <option value="STATUS">运行状态</option>
                    <option value="CYCLE">执行周期</option>
                    <option value="PLAN_TIME">计划时间</option>
                    <option value="PARAMETER">参数</option>
                    <option value="DESCRIPTION">任务描述</option>
                    <option value="SO_TIMEOUT">超时时间</option>
                    <option value="OWNER">环境</option>
                </select>
            </th>
            <td>
                <input id="task_taskName" name="task.taskName" style="width:450px;" type="text"> *
            </td>
            <td>
            </td>
        </tr>
        </tbody>
        <tfoot>
        <tr>
            <td colspan="3">
                <input type="button" value=" 保 存 " id="batchModifyTaskButton" style="width:90px;height: 25px;"/>
            </td>
        </tr>
        </tfoot>
    </table>
</form>
<table class="mark_table" cellspacing="0" cellpadding="0" style="width: 100px;">
    <tr>
        <td>
            <a href="#" id="showBook" onclick="showBook()">说明</a>
        </td>
    </tr>
</table>
<table id="bookInfo" class="mark_table" cellspacing="1" cellpadding="1" style="width: 600px;display: none;">
    <tr>
        <td style="padding: 5px;color: #008000;">
            <p>带 "*" 的参数可以使用通配符(仅限数字)</p>
            <br>

            <p>如 "批量更新任务信息\${1}" , "\${1}" 为通配符, 1 为起始值,批量更新输出如下: </p>
            <br>

            <p>
                批量更新任务信息1<br>
                批量更新任务信息2<br>
                批量更新任务信息3<br>
                批量更新任务信息4<br>
                批量更新任务信息5
            </p>
            <br>

            <p>通配符可以写成 "\${-10}" ,作降序操作,如 "\${1}批量更新任务信息\${-10}" ,批量更新输出如下:</p>
            <br>

            <p>
                1批量更新任务信息10<br>
                2批量更新任务信息9<br>
                3批量更新任务信息8<br>
                4批量更新任务信息7<br>
                5批量更新任务信息6
            </p>
        </td>
    </tr>
</table>
</body>
</html>